From 61c253a13230ad2d7ff07e6e082ef8d47d35784c Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Sat, 11 Jun 2011 13:32:15 -0400 Subject: [PATCH] themingengine: set the right coordinates for the rounded box rect --- gtk/gtkthemingengine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c index 47f6b9a575..2e8d0ae47e 100644 --- a/gtk/gtkthemingengine.c +++ b/gtk/gtkthemingengine.c @@ -1689,7 +1689,7 @@ render_frame_internal (GtkThemingEngine *engine, cairo_set_fill_rule (cr, CAIRO_FILL_RULE_EVEN_ODD); - _gtk_rounded_box_init_rect (&border_box, 0, 0, width, height); + _gtk_rounded_box_init_rect (&border_box, x, y, width, height); _gtk_rounded_box_apply_border_radius (&border_box, engine, state, junction); padding_box = border_box; _gtk_rounded_box_shrink (&padding_box, border.top, border.right, border.bottom, border.left); -- 2.30.2